Class SecArcProtocolMetadata

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public final class SecArcProtocolMetadata
extends NSObject
implements NSObjectProtocol
  • Constructor Details

    • SecArcProtocolMetadata

      public SecArcProtocolMetadata()
  • Method Details

    • getNegotiatedProtocol

      public BytePtr getNegotiatedProtocol()
      Since:
      Available in iOS 12.0 and later.
    • copyPeerPublicKey

      public DispatchData copyPeerPublicKey()
      Since:
      Available in iOS 12.0 and later.
    • getNegotiatedTlsProtocolVersion

      public TlsProtocolVersion getNegotiatedTlsProtocolVersion()
      Since:
      Available in iOS 13.0 and later.
    • getNegotiatedProtocolVersion

      @Deprecated public SSLProtocol getNegotiatedProtocolVersion()
      Deprecated.
      Deprecated in iOS 13.0. Use sec_protocol_metadata_get_negotiated_tls_protocol_version
      Since:
      Available in iOS 12.0 and later.
    • getNegotiatedTlsCiphersuite

      public TlsCiphersuite getNegotiatedTlsCiphersuite()
      Since:
      Available in iOS 13.0 and later.
    • getNegotiatedCiphersuite

      @Deprecated public SSLCipherSuite getNegotiatedCiphersuite()
      Deprecated.
      Deprecated in iOS 13.0. Use sec_protocol_metadata_get_negotiated_tls_ciphersuite
      Since:
      Available in iOS 12.0 and later.
    • getEarlyDataAccepted

      public boolean getEarlyDataAccepted()
      Since:
      Available in iOS 12.0 and later.
    • accessPeerCertificateChain

      public boolean accessPeerCertificateChain​(VoidBlock1<SecArcCertificate> handler)
      Since:
      Available in iOS 12.0 and later.
    • accessOcspResponse

      public boolean accessOcspResponse​(VoidBlock1<DispatchData> handler)
      Since:
      Available in iOS 12.0 and later.
    • accessSupportedSignatureAlgorithms

      public boolean accessSupportedSignatureAlgorithms​(VoidShortBlock handler)
      Since:
      Available in iOS 12.0 and later.
    • accessDistinguishedNames

      public boolean accessDistinguishedNames​(VoidBlock1<DispatchData> handler)
      Since:
      Available in iOS 12.0 and later.
    • accessPreSharedKeys

      public boolean accessPreSharedKeys​(VoidBlock2<DispatchData,​DispatchData> handler)
      Since:
      Available in iOS 13.0 and later.
    • getServerName

      public BytePtr getServerName()
      Since:
      Available in iOS 12.0 and later.
    • peersAreEqual

      public boolean peersAreEqual​(SecArcProtocolMetadata metadataB)
      Since:
      Available in iOS 12.0 and later.
    • challengeParametersAreEqual

      public boolean challengeParametersAreEqual​(SecArcProtocolMetadata metadataB)
      Since:
      Available in iOS 12.0 and later.
    • createSecret

      public DispatchData createSecret​(long label_len, BytePtr label, long exporter_length)
      Since:
      Available in iOS 12.0 and later.
    • createSecretWithContext

      public DispatchData createSecretWithContext​(long label_len, BytePtr label, long context_len, BytePtr context, long exporter_length)
      Since:
      Available in iOS 12.0 and later.
    • secArcRetain

      public void secArcRetain()
    • secArcRelease

      public void secArcRelease()