/** * @since Available in iOS 2.0 and later. */ public NSDate getCreationDate() { if (has(Keys.CreationDate())) { NSDate val = get(Keys.CreationDate(), NSDate.class); return val; } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public NSDate getModificationDate() { if (has(Keys.ModificationDate())) { NSDate val = get(Keys.ModificationDate(), NSDate.class); return val; } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public NSData getGeneric() { if (has(Keys.Generic())) { NSData val = get(Keys.Generic(), NSData.class); return val; } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public NSData getSerialNumber() { if (has(Keys.SerialNumber())) { NSData val = get(Keys.SerialNumber(), NSData.class); return val; } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public NSData getPublicKeyHash() { if (has(Keys.PublicKeyHash())) { NSData val = get(Keys.PublicKeyHash(), NSData.class); return val; } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public String getComment() { if (has(Keys.Comment())) { CFString val = get(Keys.Comment(), CFString.class); return val.toString(); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean isInvisible() { if (has(Keys.IsInvisible())) { CFBoolean val = get(Keys.IsInvisible(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public String getServer() { if (has(Keys.Server())) { CFString val = get(Keys.Server(), CFString.class); return val.toString(); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public SecAttrAuthenticationType getAuthenticationType() { if (has(Keys.AuthenticationType())) { CFType val = get(Keys.AuthenticationType(), CFType.class); return SecAttrAuthenticationType.valueOf(val); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public String getApplicationLabel() { if (has(Keys.ApplicationLabel())) { CFString val = get(Keys.ApplicationLabel(), CFString.class); return val.toString(); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public SecAttrKeyType getKeyType() { if (has(Keys.KeyType())) { CFType val = get(Keys.KeyType(), CFType.class); return SecAttrKeyType.valueOf(val); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean canUnwrap() { if (has(Keys.CanUnwrap())) { CFBoolean val = get(Keys.CanUnwrap(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public SecAttrAccessible getAccessible() { if (has(Keys.Accessible())) { CFType val = get(Keys.Accessible(), CFType.class); return SecAttrAccessible.valueOf(val); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public String getDescription() { if (has(Keys.Description())) { CFString val = get(Keys.Description(), CFString.class); return val.toString(); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public long getCertificateType() { if (has(Keys.CertificateType())) { CFNumber val = get(Keys.CertificateType(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 2.0 and later. */ public SecAttrKeyClass getKeyClass() { if (has(Keys.KeyClass())) { CFType val = get(Keys.KeyClass(), CFType.class); return SecAttrKeyClass.valueOf(val); } return null; } /**
/** * @since Available in iOS 2.0 and later. */ public long getKeySizeInBits() { if (has(Keys.KeySizeInBits())) { CFNumber val = get(Keys.KeySizeInBits(), CFNumber.class); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean canEncrypt() { if (has(Keys.CanEncrypt())) { CFBoolean val = get(Keys.CanEncrypt(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean canDecrypt() { if (has(Keys.CanDecrypt())) { CFBoolean val = get(Keys.CanDecrypt(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 2.0 and later. */ public List<CFType> getItemList() { if (has(Keys.UseItemList())) { CFArray val = get(Keys.UseItemList(), CFArray.class); return val.toList(CFType.class); } return null; } /**