public abstract class ApnsKey extends Object implements ECKey
Modifier and Type | Field and Description |
---|---|
static String |
APNS_SIGNATURE_ALGORITHM |
Constructor and Description |
---|
ApnsKey(String keyId,
String teamId,
ECKey key)
Constructs a new APNs key with the given identifiers and underlying elliptic curve key.
|
Modifier and Type | Method and Description |
---|---|
String |
getKeyId()
Returns the Apple-issued identifier for this key.
|
ECParameterSpec |
getParams() |
String |
getTeamId()
Returns the Apple-issued identifier for the team that owns this key.
|
public static final String APNS_SIGNATURE_ALGORITHM
public ApnsKey(String keyId, String teamId, ECKey key)
keyId
- the Apple-issued, ten-digit alphanumeric identifier for this key; must not be null
teamId
- the Apple-issued, ten-digit alphanumeric identifier for the team that owns this key; must not be
null
key
- the underlying elliptic curve key for this APNs keypublic String getKeyId()
public String getTeamId()
public ECParameterSpec getParams()
Copyright © 2013–2018 Turo. All rights reserved.