Package org.robovm.apple.security
Class SecAttributes
- java.lang.Object
-
- org.robovm.apple.corefoundation.CFDictionaryWrapper
-
- org.robovm.apple.security.SecAttributes
-
public class SecAttributes extends CFDictionaryWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecAttributes.AsListMarshaler
static class
SecAttributes.Keys
static class
SecAttributes.Marshaler
-
Field Summary
-
Fields inherited from class org.robovm.apple.corefoundation.CFDictionaryWrapper
data
-
-
Constructor Summary
Constructors Constructor Description SecAttributes()
-
Method Summary
-
Methods inherited from class org.robovm.apple.corefoundation.CFDictionaryWrapper
getDictionary, toString
-
-
-
-
Method Detail
-
has
public boolean has(CFType key)
-
get
public <T extends org.robovm.rt.bro.NativeObject> T get(CFType key, java.lang.Class<T> type)
-
set
public SecAttributes set(CFType key, org.robovm.rt.bro.NativeObject value)
-
getAccessible
public SecAttrAccessible getAccessible()
- Since:
- Available in iOS 4.0 and later.
-
setAccessible
public SecAttributes setAccessible(SecAttrAccessible accessible)
- Since:
- Available in iOS 4.0 and later.
-
getAccessControl
public SecAccessControl getAccessControl()
- Since:
- Available in iOS 8.0 and later.
-
setAccessControl
public SecAttributes setAccessControl(SecAccessControl accessControl)
- Since:
- Available in iOS 8.0 and later.
-
getAccessGroup
public java.lang.String getAccessGroup()
- Since:
- Available in iOS 3.0 and later.
-
setAccessGroup
public SecAttributes setAccessGroup(java.lang.String accessGroup)
- Since:
- Available in iOS 3.0 and later.
-
isSynchronizable
public boolean isSynchronizable()
- Since:
- Available in iOS 7.0 and later.
-
setSynchronizable
public SecAttributes setSynchronizable(boolean synchronizable)
- Since:
- Available in iOS 7.0 and later.
-
getCreationDate
public NSDate getCreationDate()
- Since:
- Available in iOS 2.0 and later.
-
setCreationDate
public SecAttributes setCreationDate(NSDate creationDate)
- Since:
- Available in iOS 2.0 and later.
-
getModificationDate
public NSDate getModificationDate()
- Since:
- Available in iOS 2.0 and later.
-
setModificationDate
public SecAttributes setModificationDate(NSDate modificationDate)
- Since:
- Available in iOS 2.0 and later.
-
getDescription
public java.lang.String getDescription()
- Since:
- Available in iOS 2.0 and later.
-
setDescription
public SecAttributes setDescription(java.lang.String description)
- Since:
- Available in iOS 2.0 and later.
-
getComment
public java.lang.String getComment()
- Since:
- Available in iOS 2.0 and later.
-
setComment
public SecAttributes setComment(java.lang.String comment)
- Since:
- Available in iOS 2.0 and later.
-
getCreator
public long getCreator()
- Since:
- Available in iOS 2.0 and later.
-
setCreator
public SecAttributes setCreator(long creator)
- Since:
- Available in iOS 2.0 and later.
-
getType
public long getType()
- Since:
- Available in iOS 2.0 and later.
-
setType
public SecAttributes setType(long type)
- Since:
- Available in iOS 2.0 and later.
-
getLabel
public java.lang.String getLabel()
- Since:
- Available in iOS 2.0 and later.
-
setLabel
public SecAttributes setLabel(java.lang.String label)
- Since:
- Available in iOS 2.0 and later.
-
isInvisible
public boolean isInvisible()
- Since:
- Available in iOS 2.0 and later.
-
setIsInvisible
public SecAttributes setIsInvisible(boolean isInvisible)
- Since:
- Available in iOS 2.0 and later.
-
isNegative
public boolean isNegative()
- Since:
- Available in iOS 2.0 and later.
-
setIsNegative
public SecAttributes setIsNegative(boolean isNegative)
- Since:
- Available in iOS 2.0 and later.
-
getAccount
public java.lang.String getAccount()
- Since:
- Available in iOS 2.0 and later.
-
setAccount
public SecAttributes setAccount(java.lang.String account)
- Since:
- Available in iOS 2.0 and later.
-
getService
public java.lang.String getService()
- Since:
- Available in iOS 2.0 and later.
-
setService
public SecAttributes setService(java.lang.String service)
- Since:
- Available in iOS 2.0 and later.
-
getGeneric
public NSData getGeneric()
- Since:
- Available in iOS 2.0 and later.
-
setGeneric
public SecAttributes setGeneric(NSData generic)
- Since:
- Available in iOS 2.0 and later.
-
getSecurityDomain
public java.lang.String getSecurityDomain()
- Since:
- Available in iOS 2.0 and later.
-
setSecurityDomain
public SecAttributes setSecurityDomain(java.lang.String securityDomain)
- Since:
- Available in iOS 2.0 and later.
-
getServer
public java.lang.String getServer()
- Since:
- Available in iOS 2.0 and later.
-
setServer
public SecAttributes setServer(java.lang.String server)
- Since:
- Available in iOS 2.0 and later.
-
getProtocol
public SecAttrProtocol getProtocol()
- Since:
- Available in iOS 2.0 and later.
-
setProtocol
public SecAttributes setProtocol(SecAttrProtocol protocol)
- Since:
- Available in iOS 2.0 and later.
-
getAuthenticationType
public SecAttrAuthenticationType getAuthenticationType()
- Since:
- Available in iOS 2.0 and later.
-
setAuthenticationType
public SecAttributes setAuthenticationType(SecAttrAuthenticationType authenticationType)
- Since:
- Available in iOS 2.0 and later.
-
getPort
public int getPort()
- Since:
- Available in iOS 2.0 and later.
-
setPort
public SecAttributes setPort(int port)
- Since:
- Available in iOS 2.0 and later.
-
getPath
public java.lang.String getPath()
- Since:
- Available in iOS 2.0 and later.
-
setPath
public SecAttributes setPath(java.lang.String path)
- Since:
- Available in iOS 2.0 and later.
-
getSubject
public NSData getSubject()
- Since:
- Available in iOS 2.0 and later.
-
setSubject
public SecAttributes setSubject(NSData subject)
- Since:
- Available in iOS 2.0 and later.
-
getIssuer
public NSData getIssuer()
- Since:
- Available in iOS 2.0 and later.
-
setIssuer
public SecAttributes setIssuer(NSData issuer)
- Since:
- Available in iOS 2.0 and later.
-
getSerialNumber
public NSData getSerialNumber()
- Since:
- Available in iOS 2.0 and later.
-
setSerialNumber
public SecAttributes setSerialNumber(NSData serialNumber)
- Since:
- Available in iOS 2.0 and later.
-
getSubjectKeyID
public NSData getSubjectKeyID()
- Since:
- Available in iOS 2.0 and later.
-
setSubjectKeyID
public SecAttributes setSubjectKeyID(NSData subjectKeyID)
- Since:
- Available in iOS 2.0 and later.
-
getPublicKeyHash
public NSData getPublicKeyHash()
- Since:
- Available in iOS 2.0 and later.
-
setPublicKeyHash
public SecAttributes setPublicKeyHash(NSData publicKeyHash)
- Since:
- Available in iOS 2.0 and later.
-
getCertificateType
public long getCertificateType()
- Since:
- Available in iOS 2.0 and later.
-
setCertificateType
public SecAttributes setCertificateType(long certificateType)
- Since:
- Available in iOS 2.0 and later.
-
getCertificateEncoding
public long getCertificateEncoding()
- Since:
- Available in iOS 2.0 and later.
-
setCertificateEncoding
public SecAttributes setCertificateEncoding(long certificateEncoding)
- Since:
- Available in iOS 2.0 and later.
-
getKeyClass
public SecAttrKeyClass getKeyClass()
- Since:
- Available in iOS 2.0 and later.
-
setKeyClass
public SecAttributes setKeyClass(SecAttrKeyClass keyClass)
- Since:
- Available in iOS 2.0 and later.
-
getApplicationLabel
public java.lang.String getApplicationLabel()
- Since:
- Available in iOS 2.0 and later.
-
setApplicationLabel
public SecAttributes setApplicationLabel(java.lang.String applicationLabel)
- Since:
- Available in iOS 2.0 and later.
-
isPermanent
public boolean isPermanent()
- Since:
- Available in iOS 2.0 and later.
-
setIsPermanent
public SecAttributes setIsPermanent(boolean isPermanent)
- Since:
- Available in iOS 2.0 and later.
-
getApplicationTag
public NSData getApplicationTag()
- Since:
- Available in iOS 2.0 and later.
-
setApplicationTag
public SecAttributes setApplicationTag(NSData applicationTag)
- Since:
- Available in iOS 2.0 and later.
-
getKeyType
public SecAttrKeyType getKeyType()
- Since:
- Available in iOS 2.0 and later.
-
setKeyType
public SecAttributes setKeyType(SecAttrKeyType keyType)
- Since:
- Available in iOS 2.0 and later.
-
getKeySizeInBits
public long getKeySizeInBits()
- Since:
- Available in iOS 2.0 and later.
-
setKeySizeInBits
public SecAttributes setKeySizeInBits(long keySizeInBits)
- Since:
- Available in iOS 2.0 and later.
-
getEffectiveKeySize
public int getEffectiveKeySize()
- Since:
- Available in iOS 2.0 and later.
-
setEffectiveKeySize
public SecAttributes setEffectiveKeySize(int effectiveKeySize)
- Since:
- Available in iOS 2.0 and later.
-
canEncrypt
public boolean canEncrypt()
- Since:
- Available in iOS 2.0 and later.
-
setCanEncrypt
public SecAttributes setCanEncrypt(boolean canEncrypt)
- Since:
- Available in iOS 2.0 and later.
-
canDecrypt
public boolean canDecrypt()
- Since:
- Available in iOS 2.0 and later.
-
setCanDecrypt
public SecAttributes setCanDecrypt(boolean canDecrypt)
- Since:
- Available in iOS 2.0 and later.
-
canDerive
public boolean canDerive()
- Since:
- Available in iOS 2.0 and later.
-
setCanDerive
public SecAttributes setCanDerive(boolean canDerive)
- Since:
- Available in iOS 2.0 and later.
-
canSign
public boolean canSign()
- Since:
- Available in iOS 2.0 and later.
-
setCanSign
public SecAttributes setCanSign(boolean canSign)
- Since:
- Available in iOS 2.0 and later.
-
canVerify
public boolean canVerify()
- Since:
- Available in iOS 2.0 and later.
-
setCanVerify
public SecAttributes setCanVerify(boolean canVerify)
- Since:
- Available in iOS 2.0 and later.
-
canWrap
public boolean canWrap()
- Since:
- Available in iOS 2.0 and later.
-
setCanWrap
public SecAttributes setCanWrap(boolean canWrap)
- Since:
- Available in iOS 2.0 and later.
-
canUnwrap
public boolean canUnwrap()
- Since:
- Available in iOS 2.0 and later.
-
setCanUnwrap
public SecAttributes setCanUnwrap(boolean canUnwrap)
- Since:
- Available in iOS 2.0 and later.
-
getOperationPrompt
public java.lang.String getOperationPrompt()
- Since:
- Available in iOS 8.0 and later.
-
setOperationPrompt
public SecAttributes setOperationPrompt(java.lang.String operationPrompt)
- Since:
- Available in iOS 8.0 and later.
-
usesNoAuthenticationUI
@Deprecated public boolean usesNoAuthenticationUI()
Deprecated.Deprecated in iOS 9.0. Use kSecUseAuthenticationUI instead.- Since:
- Available in iOS 8.0 and later.
-
setUsesNoAuthenticationUI
@Deprecated public SecAttributes setUsesNoAuthenticationUI(boolean usesNoAuthenticationUI)
Deprecated.Deprecated in iOS 9.0. Use kSecUseAuthenticationUI instead.- Since:
- Available in iOS 8.0 and later.
-
usesAuthenticationUI
public boolean usesAuthenticationUI()
- Since:
- Available in iOS 9.0 and later.
-
setUsesAuthenticationUI
public SecAttributes setUsesAuthenticationUI(boolean usesAuthenticationUI)
- Since:
- Available in iOS 9.0 and later.
-
getUseAuthenticationContext
public LAContext getUseAuthenticationContext()
- Since:
- Available in iOS 9.0 and later.
-
setUseAuthenticationContext
public SecAttributes setUseAuthenticationContext(LAContext useAuthenticationContext)
- Since:
- Available in iOS 9.0 and later.
-
-