Package org.robovm.apple.security
Class SecCertificate
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.security.SecCertificate
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class SecCertificate extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecCertificate.SecCertificatePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SecCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SecKey
copyKey()
NSData
copyNormalizedIssuerSequence()
NSData
copyNormalizedSubjectSequence()
SecKey
copyPublicKey()
Deprecated.Deprecated in iOS 12.0.NSData
copySerialNumber()
Deprecated.Deprecated in iOS 11.0.NSData
copySerialNumberData(NSError error)
static SecCertificate
create(CFAllocator allocator, NSData data)
static long
getClassTypeID()
OSStatus
getCommonName(java.lang.String commonName)
NSData
getData()
OSStatus
getEmailAddresses(java.util.List<java.lang.String> emailAddresses)
java.lang.String
getSubjectSummary()
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
create
public static SecCertificate create(CFAllocator allocator, NSData data)
- Since:
- Available in iOS 2.0 and later.
-
getData
public NSData getData()
- Since:
- Available in iOS 2.0 and later.
-
getSubjectSummary
public java.lang.String getSubjectSummary()
- Since:
- Available in iOS 2.0 and later.
-
getCommonName
public OSStatus getCommonName(java.lang.String commonName)
- Since:
- Available in iOS 10.3 and later.
-
getEmailAddresses
public OSStatus getEmailAddresses(java.util.List<java.lang.String> emailAddresses)
- Since:
- Available in iOS 10.3 and later.
-
copyNormalizedIssuerSequence
public NSData copyNormalizedIssuerSequence()
- Since:
- Available in iOS 10.3 and later.
-
copyNormalizedSubjectSequence
public NSData copyNormalizedSubjectSequence()
- Since:
- Available in iOS 10.3 and later.
-
copyKey
public SecKey copyKey()
- Since:
- Available in iOS 12.0 and later.
-
copyPublicKey
@Deprecated public SecKey copyPublicKey()
Deprecated.Deprecated in iOS 12.0.- Since:
- Available in iOS 10.3 and later.
-
copySerialNumberData
public NSData copySerialNumberData(NSError error)
- Since:
- Available in iOS 11.0 and later.
-
copySerialNumber
@Deprecated public NSData copySerialNumber()
Deprecated.Deprecated in iOS 11.0.- Since:
- Available in iOS 10.3 and later.
-
-