| IdentityCredentials | SecurityIdentity. getPrivateCredentials() | Get the private credentials of this identity. | 
| IdentityCredentials | SecurityIdentity. getPublicCredentials() | Get the public credentials of this identity. | 
| abstract IdentityCredentials | IdentityCredentials. with(IdentityCredentials other) | Return a copy of this credential set with the given credential set added to it. | 
| abstract IdentityCredentials | IdentityCredentials. withCredential(Credential credential) | Return a copy of this credential set, but with the given credential added to it. | 
| IdentityCredentials | IdentityCredentials. without(Class<? extends Credential> credentialType) | Return a copy of this credential set without any credentials of the given type. | 
| IdentityCredentials | IdentityCredentials. without(Class<? extends Credential> credentialType,
       String algorithmName) | Return a copy of this credential set without any credentials of the given type and algorithm name. | 
| IdentityCredentials | IdentityCredentials. without(Class<? extends Credential> credentialType,
       String algorithmName,
       AlgorithmParameterSpec parameterSpec) | Return a copy of this credential set without any credentials of the given type, algorithm name and
 parameter spec. | 
| <C extends Credential>IdentityCredentials
 | IdentityCredentials. without(Class<C> credentialType,
       Predicate<? super C> predicate) | Return a copy of this credential set without any credentials of the given type that match the predicate. | 
| abstract IdentityCredentials | IdentityCredentials. without(Predicate<? super Credential> predicate) | Return a copy of this credential set without any credentials that match the predicate. | 
| IdentityCredentials | IdentityCredentials. withoutMatching(Credential credential) | Return a copy of this credential set without any credentials with a type, algorithm name, and parameters matching that of the
 given credential. |