blob: c1dec93b1a191d9fb04badb9e70481fe0bee1b82 [file] [log] [blame]
/**
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
**************************************************************************
*/
#import "objc/TINKHybridEncrypt.h"
#import <Foundation/Foundation.h>
#include "tink/hybrid_encrypt.h"
/**
* This interface is internal-only. Use TINKHybridEncryptFactory to get an instance that conforms to
* TINKHybridEncrypt.
*/
@interface TINKHybridEncryptInternal : NSObject <TINKHybridEncrypt>
- (nullable instancetype)init NS_UNAVAILABLE;
- (nullable instancetype)initWithCCHybridEncrypt:
(std::unique_ptr<crypto::tink::HybridEncrypt>)ccHybridEncrypt NS_DESIGNATED_INITIALIZER;
- (nullable crypto::tink::HybridEncrypt *)ccHybridEncrypt;
@end